package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 exa_borrowmoney
 * 
 * @author ruoyi
 * @date 2020-07-02
 */
public class ExaBorrowmoney extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 借款id */
    private Long bId;

    /** 借款类型 */
    @Excel(name = "借款类型")
    private Long bType;

    /** 借款原因 */
    @Excel(name = "借款原因")
    private String bReason;

    /** 借款金额 */
    @Excel(name = "借款金额")
    private BigDecimal bMoney;

    /** 借款申请时间 */
    @Excel(name = "借款申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bTimeStart;

    /** 申请人 */
    @Excel(name = "申请人")
    private String bTheHeir;

    /** 文件上传 */
//    @Excel(name = "文件上传")
    private String bRemark;

    /** 借款状态 */
//    @Excel(name = "借款状态")
    private Long bStatus;

    /** 审批意见	 */
//    @Excel(name = "审批意见	")
    private String bOpinion;

    public void setbId(Long bId) 
    {
        this.bId = bId;
    }

    public Long getbId() 
    {
        return bId;
    }
    public void setbType(Long bType) 
    {
        this.bType = bType;
    }

    public Long getbType() 
    {
        return bType;
    }
    public void setbReason(String bReason) 
    {
        this.bReason = bReason;
    }

    public String getbReason() 
    {
        return bReason;
    }
    public void setbMoney(BigDecimal bMoney)
    {
        this.bMoney = bMoney;
    }

    public BigDecimal getbMoney()
    {
        return bMoney;
    }
    public void setbTimeStart(Date bTimeStart) 
    {
        this.bTimeStart = bTimeStart;
    }

    public Date getbTimeStart() 
    {
        return bTimeStart;
    }
    public void setbTheHeir(String bTheHeir) 
    {
        this.bTheHeir = bTheHeir;
    }

    public String getbTheHeir() 
    {
        return bTheHeir;
    }
    public void setbRemark(String bRemark) 
    {
        this.bRemark = bRemark;
    }

    public String getbRemark() 
    {
        return bRemark;
    }
    public void setbStatus(Long bStatus) 
    {
        this.bStatus = bStatus;
    }

    public Long getbStatus() 
    {
        return bStatus;
    }
    public void setbOpinion(String bOpinion) 
    {
        this.bOpinion = bOpinion;
    }

    public String getbOpinion() 
    {
        return bOpinion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bId", getbId())
            .append("bType", getbType())
            .append("bReason", getbReason())
            .append("bMoney", getbMoney())
            .append("bTimeStart", getbTimeStart())
            .append("bTheHeir", getbTheHeir())
            .append("bRemark", getbRemark())
            .append("bStatus", getbStatus())
            .append("bOpinion", getbOpinion())
            .toString();
    }
}
